import {
  AppstoreOutlined,
  PieChartOutlined,
  DesktopOutlined,
  ContainerOutlined,
  MailOutlined,
} from '@ant-design/icons';
export default [
  {
    key: "/",
    icon: AppstoreOutlined,
    title: "Dashboard",
    children: [
      {
        key: '/introduce',
        title: "系统介绍",
        icon: PieChartOutlined,
        role: ['user', 'admin', 'super']
      },
      {
        key: '/dashboard',
        title: "Dashboard",
        icon: PieChartOutlined,
        role: ['user', 'admin', 'super']
      },
      {
        key: '/add',
        title: "添加商品",
        icon: MailOutlined,
        role: ['admin', 'super']
      }
    ]
  },
  {
    key: "homeset",
    icon: DesktopOutlined,
    title: "首页设置",
    children: [
      {
        key: '/swiper',
        title: "轮播图设置",
        icon: ContainerOutlined,
        role: ['user', 'admin', 'super']
      },
      {
        key: '/swiper22',
        title: "轮播图设置22",
        icon: ContainerOutlined,
        role: ['user', 'admin', 'super']
      }
    ]
  },
  {
    key: "homeset22",
    icon: DesktopOutlined,
    title: "模块管理",
    children: [
      {
        key: '/hot',
        title: "热销",
        icon: ContainerOutlined,
        role: ['user', 'admin', 'super']
      },
      {
        key: '/hot22',
        title: "热销22",
        icon: ContainerOutlined,
        role: ['user', 'admin', 'super']
      }
    ]
  },
]